//
//  SingleTon.m
//  Xing
//
//  Created by macpro on 16/1/14.
//  Copyright © 2016年 徐番茄丶. All rights reserved.
//

#import "SingleTon.h"

@implementation SingleTon
+(SingleTon *)shareSingleTon
{
    static SingleTon *singleTon;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        if(singleTon == nil){
            singleTon = [[[self class] alloc]init];
        }
    });
    return singleTon;
}


@end
